package com.vcit.system.domain.exchangeGrade;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.vcit.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vcit.common.annotation.Excel;

/**
 * 成绩置换对象 t_exchange_grade
 * 
 * @author dff
 * @date 2025-01-17
 */
public class TExchangeGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生学号 */
    @Excel(name = "学生sno")
    private Long studentSno;

    /** 学期id */
    @Excel(name = "学期id")
    private Long termId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private BigDecimal examScore;

    /** 创建者id */
    @Excel(name = "创建者id")
    private Long createId;

    /** 审核者id */
    @Excel(name = "审核者id")
    private Long auditId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentSno(Long studentSno)
    {
        this.studentSno = studentSno;
    }

    public Long getStudentSno()
    {
        return studentSno;
    }
    public void setTermId(Long termId) 
    {
        this.termId = termId;
    }

    public Long getTermId() 
    {
        return termId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setAuditId(Long auditId) 
    {
        this.auditId = auditId;
    }

    public Long getAuditId() 
    {
        return auditId;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentSno())
            .append("termId", getTermId())
            .append("courseId", getCourseId())
            .append("examScore", getExamScore())
            .append("remark", getRemark())
            .append("createId", getCreateId())
            .append("auditId", getAuditId())
            .append("createTime", getCreateTime())
            .append("auditTime", getAuditTime())
            .toString();
    }
}
